package response

var (
	// common errors
	ErrSuccess             = newError("000000", "ok")
	ErrBadRequest          = newError("400", "Bad Request")
	ErrUnauthorized        = newError("401", "Unauthorized")
	ErrNotFound            = newError("404", "Not Found")
	ErrInternalServerError = newError("500", "Internal Server Error")

	// more biz errors
	ErrAcceptingParameters = newError("1001", "Error accepting parameters")
)
